package adkr

import "sync/atomic"

// rbcMode: "" (default, classic), "dual", "dual_cp"
var rbcModeValue atomic.Value

func init() { rbcModeValue.Store("") }

func SetRBCMode(mode string) { rbcModeValue.Store(mode) }
func GetRBCMode() string     { v := rbcModeValue.Load(); if v == nil { return "" }; return v.(string) }






